﻿using System.Collections.Generic;
using Eagles.Application.Model.Enums;
using Eagles.Application.Model.Common;

namespace Eagles.Application.Model.News.GetUserRequisitionDetail
{
    /// <summary>
    /// 入党申请书查询
    /// </summary>
    public class GetUserRequisitionDetailResponse
    {
        /// <summary>
        /// 文章编号
        /// </summary>
        public int NewsId { get; set; }

        /// <summary>
        /// 文章类型 00:文章 01:心得体会 02:会议 03:入党申请
        /// </summary>
        public NewsEnum NewsType { get; set; }

        public int UserId { get; set; }

        /// <summary>
        /// 文章发表人
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 文章状态
        /// </summary>
        public string Status { get; set; }

        /// <summary>
        /// 文章标题
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 文章描述
        /// </summary>
        public string HtmlContent { get; set; }

        /// <summary>
        /// 文章缩略图
        /// </summary>
        public string ImageUrl { get; set; }

        /// <summary>
        /// 入党申请推荐人
        /// </summary>
        public int ToUserId { get; set; }

        /// <summary>
        /// 入党申请推荐人名
        /// </summary>
        public string Introducer { get; set; }

        /// <summary>
        /// 公开
        /// </summary>
        public int IsPublic { get; set; }

        /// <summary>
        /// 心得体会书籍名称
        /// </summary>
        public string BookName { get; set; }

        /// <summary>
        /// 心得体会书籍作者
        /// </summary>
        public string BookAuthor { get; set; }

        /// <summary>
        /// 附件集合
        /// </summary>
        public List<Attachment> AttachmentList { get; set; }
    }
}